import request from '@/utils/login'

// 用户登录
export function login (data) {
  // const params = qs.stringify(data)
  return request({
    url: '/login',
    method: 'post',
    data: data
  })
}

export function newLogin (data) {
  // const params = qs.stringify(data)
  return request({
    url: '/newLogin',
    method: 'post',
    data: data
  })
}